package ml.ml.Clases;

import java.util.ArrayList;

public class CassandraList<E> extends ArrayList<E> {
	public static CassandraList valueOf(String string){
		String dev = "";
		if (string.contains("[") && string.contains("]")){
			if (string.length() > 2){
				dev = string.substring(1, string.length() - 1);
			}
		}
		CassandraList<String> cas = new CassandraList<String>();
		String[] pru = dev.split(",");
		if (dev.equals("")){
			return cas;
		}
		for (String string2 : pru) {
			cas.add(string2);
			
		}
		return cas;
		
	}	

}
